package com.situ.vivamarket.service;

import com.github.pagehelper.Page;
import com.situ.vivamarket.model.Brand;
import com.situ.vivamarket.model.Category;
import com.situ.vivamarket.model.Member;
import com.situ.vivamarket.model.search.MemberSearchBean;

import java.util.List;

public interface CategoryService {

    Category findById(Integer id);

    List<Category> findAll();

    int deleteByIds(Integer[] ids);

    boolean add(Category category);

    boolean update(Category category);

    Category buildTree();

}
